<table>
  <tbody>
    <tr>
      <th>Id:</th>
      <td><?php echo $custom_photo->getId() ?></td>
    </tr>
    <tr>
      <th>Type:</th>
      <td><?php echo $custom_photo->getType() ?></td>
    </tr>
    <tr>
      <th>Link:</th>
      <td><?php echo $custom_photo->getLink() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<a href="<?php echo url_for('main/edit?id='.$custom_photo->getId()) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('main/index') ?>">List</a>
